package com.luoyi.util.ovs.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.luoyi.util.ovs.annotation.DataOut;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.*;


/**
 * 
 * 功能说明：风险检查过程 值对象类
 * @author  
 */
@Data
@SuppressWarnings("serial")
@ApiModel(value="风险检查过程", description="风险检查过程")
@JsonIgnoreProperties(ignoreUnknown = true)
public class IndexFlowVo implements Serializable {
	
    @ApiModelProperty(name="id", value="主键id")
    private String id;
	@DataOut(columnName = "code")
    @ApiModelProperty(name="code", value="编码")
    private String code;
	@DataOut(columnName = "name")
    @ApiModelProperty(name="name", value="名称")
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name="startDate", value="有效开始时间")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name="endDate", value="有效结止时间")
    private Date endDate;
	@DataOut(columnName = "status", dataCode = "YesOrNo")
    @ApiModelProperty(name="status", value="状态")
    private String status;
    @ApiModelProperty(name="parentId", value="父节点")
    private String parentId;
    @ApiModelProperty(name="levelNo", value="层次代码")
    private String levelNo;
    @ApiModelProperty(name="sn", value="序号")
    private Integer sn;
    @ApiModelProperty(name="memo", value="说明")
    private String memo;
	@DataOut(columnName = "used", dataCode = "used_status")
	@ApiModelProperty(name="used", value="是否已使用;值Y,N")
	private String used;
	@ApiModelProperty(name="indexSetCode", value="风险检查组(下拉勾选风险检查组时，传选择的code")
	private List<String> indexSetCode;
	@ApiModelProperty(name="isDefaultFlowCode", value="是否为默认流程组(Y,N)")
	private String isDefaultFlowCode;
	@ApiModelProperty(name="setVoList", value="风险检查组")
	private List<Object> setVoList;

}